package com.qitmiaojie.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qitmiaojie.pojo.Activity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qitmiaojie.pojo.dto.AdviceMsg;

import java.util.List;

/**
 *
 */
public interface ActivityService extends IService<Activity> {

    void insert(Activity activity);

    IPage<Activity> selectByPage(Integer currentPage, Integer size, String name);

    List<AdviceMsg> getMsg();
}
